const router = require('koa-router')()
const Focus = require('../controllers/recommend/focusDetail')
const LikeClassify = require('../controllers/recommend/likeClassify')

router.prefix('/recommend')

// 添加关注
router.post('/detail-focus', Focus.addFocus)

// 取消关注
router.post('/detail-un-focus', Focus.unFocus)

// 获取关注时间线
router.get('/detail-focus-timeline', Focus.focusTimeline)

// 设置偏好
router.post('/set-like', LikeClassify.setLikeClassify)

// 获取偏好
router.get('/get-like', LikeClassify.getLikeClassify)

module.exports = router
